package com.sm.imlibrary.presenter;

import com.sm.imlibrary.event.MessageEvent;
import com.sm.imlibrary.viewfeatures.ConversationView;

import java.util.Observable;
import java.util.Observer;

/**
 * created by zhud on 2019/7/31
 */
public class ConversationPresenter implements Observer {
    private static final String TAG = "ConversationPresenter";
    private ConversationView view;

    public ConversationPresenter(ConversationView view) {
        //注册消息监听
        MessageEvent.getInstance().addObserver(this);
        this.view = view;
    }

    @Override
    public void update(Observable o, Object arg) {

    }
}
